﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application.HtAdminServices;

public interface IHtAccountService
{
    /// <summary>
    ///     管理登陆
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<HtLoginOut> Login(HtLoginInput input);

    /// <summary>
    ///     登陆API Swagger 可视化页面
    /// </summary>
    /// <returns></returns>
    void LoginApiSwagger();

    /// <summary>
    ///     获取当前登陆用户
    /// </summary>
    /// <returns></returns>
    Task<HtUserOut> GetLoginUser();

    /// <summary>
    ///     获取后台首页左侧菜单列表
    /// </summary>
    /// <param name="area">区域</param>
    /// <returns></returns>
    Task<List<PearMenuItemOut>> GetMenus(string area);
}